#include <iostream>
#include <vector>
using namespace std;

int main()
{
  vector<int> v;
  size_t sz = v.capacity();
  for(int i =0;i<100;++i)
  { 
    v.push_back(i);
    if(sz != v.capacity())
    {
      sz = v.capacity();
      cout<<"v.capacity = " << sz << '\n';
    }
  }
  return 0;
}

